// @ts-ignore
/* eslint-disable */
import request from '@/util/request.ts'

/** listPictureVOByPageWithCache POST /api/list/page/vo/cache */
export async function listPictureVoByPageWithCacheUsingPost(
  body: API.PictureQueryRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePagePictureVO_>('/api/list/page/vo/cache', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** refreshCache POST /api/refresh/cache */
export async function refreshCacheUsingPost(options?: { [key: string]: any }) {
  return request<API.BaseResponseString_>('/api/refresh/cache', {
    method: 'POST',
    ...(options || {}),
  })
}
